import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';

import { AppComponent } from './app.component';
import { StudentComponent } from './student/student.component';
import { HeroesComponent } from './heroes/heroes.component';
import { D1Component } from './d1/d1.component';
import { D2Component } from './d2/d2.component';

@NgModule({
  declarations: [
    AppComponent,
    StudentComponent,
    HeroesComponent,
    D1Component,
    D2Component
  ],
  imports: [BrowserModule, FormsModule],
  providers: [],
  bootstrap: [AppComponent],
  entryComponents: [D1Component, D2Component]
})
export class AppModule {}
